package exsun.jt808.data.distribute_data.Qingdao;

import exsun.jt808.data.distribute_data.DistributeEntity;

/**
 * 管控开关定义
 */
public class ControlSwitchDefinition extends DistributeEntity {

    /**
     * 消息ID
     **/
    private int messageId;

    /**
     * ID
     **/
    private int id;

    /**
     * 阈值：BYTE1：举升管控开关
     * 00:不修改（维持设备原有状态）
     * 01:打开举升控制功能(控制举升)结合区域
     * 02:关闭举升控制功能
     * BYTE2：超速管控
     * BYTE3：越界违规管控
     * BYTE4：违规卸载管控
     * BYTE5：无证违规管控
     * BYTE6：驾驶员身份不符管控
     * BYTE7：闯禁报警管控
     * BYTE8：预留
     * <p>
     * BYTE2-BYTE8 取值范围说明：
     * 00：不修改（维持设备原有状态）
     * 01:自由状态（出厂默认）——上报平台，内屏不报警，取消车辆控制；
     * 02:管理状态——上报平台，内屏报警提示，取消车辆控制；
     * 03:控制举升——上报平台，内屏报警提示，控制车辆举升；
     * 04：限速——上报平台，内屏报警提示，控制车辆行驶速度；
     * 05：锁车——上报平台，内屏报警提示，控制车辆锁车
     **/
    //举升管控开关
    private int liftSwitch;

    //超速管控
    private int speeding;

    //越界违规管控
    private int beyondBoundsAlarm;

    //违规卸载管控
    private int uploadAlarm;

    //无证违规管控
    private int unlicensedAlarm;

    //驾驶员身份不符管控
    private int driverAlarm;

    //闯禁报警管控
    private int breakAlarm;

    //保留字段
    private int keep;

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLiftSwitch() {
        return liftSwitch;
    }

    public void setLiftSwitch(int liftSwitch) {
        this.liftSwitch = liftSwitch;
    }

    public int getSpeeding() {
        return speeding;
    }

    public void setSpeeding(int speeding) {
        this.speeding = speeding;
    }

    public int getBeyondBoundsAlarm() {
        return beyondBoundsAlarm;
    }

    public void setBeyondBoundsAlarm(int beyondBoundsAlarm) {
        this.beyondBoundsAlarm = beyondBoundsAlarm;
    }

    public int getUploadAlarm() {
        return uploadAlarm;
    }

    public void setUploadAlarm(int uploadAlarm) {
        this.uploadAlarm = uploadAlarm;
    }

    public int getUnlicensedAlarm() {
        return unlicensedAlarm;
    }

    public void setUnlicensedAlarm(int unlicensedAlarm) {
        this.unlicensedAlarm = unlicensedAlarm;
    }

    public int getDriverAlarm() {
        return driverAlarm;
    }

    public void setDriverAlarm(int driverAlarm) {
        this.driverAlarm = driverAlarm;
    }

    public int getBreakAlarm() {
        return breakAlarm;
    }

    public void setBreakAlarm(int breakAlarm) {
        this.breakAlarm = breakAlarm;
    }

    public int getKeep() {
        return keep;
    }

    public void setKeep(int keep) {
        this.keep = keep;
    }
}
